package com.vincent.webservicedemo.service;

import org.springframework.stereotype.Service;

import javax.jws.WebService;

/**
 * @author vincent
 * @date 2019/2/22
 * @description
 */
@WebService(
        serviceName = "helloService",
        targetNamespace = "http://service.webservicedemo.vincent.com"
)
@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String name) {
        return "hello "+name + ", I am vincent!";
    }
}
